import request from '@/utils/axiosEl'

export function addAddress(payload) {
    return request.post('/address/add', payload)
}

export function listAddress(params) {
    return request.get('/address/list', { params })
}

export function updateAddress(payload) {
    return request.post('/address/update', payload)
}

export function setDefaultAddress(payload) {
    return request.post('/address/set/default', payload)
}


